package com.iwhalecloud.uncc.common;

/**
 * @author zq
 * @date 2021/10/14 10:46
 * @description ArchiverConstant
 */
public class ArchiverConstant {

    public static final String ALL = "ALL";
    public static final String INS_COLLECT_TASK = "INS_COLLECT_TASK";
    public static final String INS_COLLECT_SERVICE = "INS_COLLECT_SERVICE";
    public static final String INS_COLLECT_SERVER = "INS_COLLECT_SERVER";

    public static final String MSG_SEPERATOR="#";
    //MQ PREFIX key
    public static final String SYS = "UNCC_ARCHIVER_";
    public static final String PREFIX_INS_COLLECT_TASK = SYS+INS_COLLECT_TASK+"_";
    public static final String PREFIX_INS_COLLECT_SERVER = SYS+INS_COLLECT_SERVER+"_";
    public static final String PREFIX_INS_COLLECT_SERVICE = SYS+INS_COLLECT_SERVICE+"_";

    public static final String HISTORY_PARTITION_CODE_PREFIX = "2000";
    public static final String HIS="his";
    public static final String DB_DEFAULT_HIS="his0";

    //归档标识字段
    public static final int ONLINE= 0;
    public static final int ARCHIVED = -1;
    public static final int ARCHIVING = 1;

    //

}
